<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/2/28
  Time: 10:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>某某健身</title>
    <link rel="icon" href="img/icon.png" type="img/x-ico">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/product.css">
    <%--<script src="js/jQuery%20v3.6.3.js"></script>
    <script src="js/jupm.js"></script>--%>
</head>
<body class="justify-content-center">
<div>
    <!--    头部-->
    <%--<div id="t"></div>--%>
    <jsp:include page="/nav.jsp"/>
    <!--    第二部分-->
    <div class="two">
        <div></div>
    </div>
    <!--    第三部分-->
    <div class="three justify-content-center">
        <div class="justify-content-left">
            <div></div>
            <div style="margin-left: 5px;cursor: pointer">网站首页</div>
            <div style="margin-left: 5px;">>></div>
            <div style="margin-left: 5px;cursor: pointer">产品中心</div>
        </div>
    </div>
    <!--    第四部分-->
    <div class="fourChoose justify-content-center">
        <div class="justify-content-center">
            <div class="justify-content-center">
                <c:forEach items="${productTypeList}" var="module">
                    <div class="text-14-white">${module.type}</div>
                </c:forEach>
            </div>
        </div>
    </div>
    <!--    第五部分-->
    <div class="four">
        <div class="justify-content-center">
            <div class="pic">
                <div class="justify-content-center">
                    <div class="justify-content-space-between flex-wrap-wrap" style="margin-top: 50px">
                        <c:forEach items="${productList}" var="module">
                            <div>
                                <div><img src="${module.img}" width="240px" height="240px" style="cursor:pointer;"/></div>
                                <div class="justify-content-center">
                                    <div style="text-align: center; margin: 20px 0 20px 0">
                                        <div class="text-14-5A pointer">${module.name}</div>
                                        <div class="justify-content-center">
                                            <div class="text-12-AC">价格:</div>
                                            <div class="text-12-red">${module.prise}</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:forEach>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--                分页-->
    <div class="page">
        <div>&lt</div>
        <div>1</div>
        <div>2</div>
        <div>&gt</div>
    </div>
</div>
</body>
</html>
